import request from '@/utils/request'

// 查询能力评估列表
export function listAbilityAssessment(query) {
  return request({
    url: '/le/abilityAssessment/list',
    method: 'get',
    params: query
  })
}

// 查询能力评估详细
export function getAbilityAssessment(id) {
  return request({
    url: '/le/abilityAssessment/' + id,
    method: 'get'
  })
}

// 新增能力评估
export function addAbilityAssessment(data) {
  return request({
    url: '/le/abilityAssessment',
    method: 'post',
    data: data
  })
}

// 修改能力评估
export function updateAbilityAssessment(data) {
  return request({
    url: '/le/abilityAssessment',
    method: 'put',
    data: data
  })
}

// 删除能力评估
export function delAbilityAssessment(id) {
  return request({
    url: '/le/abilityAssessment/' + id,
    method: 'delete'
  })
}
